// PropertyStackTypeVariable.cpp: implementation of the PropertyStackTypeVariable class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "PropertyStackTypeVariable.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

namespace PropertySystem
{
	UE_IMPLEMENT_DYNAMIC(PropertyStackTypeVariable, NonDBVariable);
	
	PropertyStackTypeVariable::PropertyStackTypeVariable()
	{
		m_pInterface = FALSE;
	}
	
	PropertyStackTypeVariable::~PropertyStackTypeVariable()
	{
		
	}
	
	PropertyVariable* PropertyStackTypeVariable::Clone()
	{
		PropertyStackTypeVariable* pVar = new PropertyStackTypeVariable;
		ASSERT_MEMORY_VALID(pVar, NULL);

		CopyPropertyData(*pVar, *this);

		pVar->m_pInterface = m_pInterface;
		return pVar;		
	}
	
	PropertyStackTypeVariable::operator PropertyStackInterface*()
	{
		return m_pInterface;
	}
}